//动态路由的配置
//用户未登录，只访问login页面
//用户登录 根据后台返回当前用户信息，对比计算用户的路由配置，通过addroutes动态添加
// import allRoutes from "./allRoutes"
const dynamicRoutes = [
  {
    path: "/",
    name: "Home",
    redirect: "/welcome",
    component: () => import(/*webpackChunkName:"Home"*/ "@/pages/home"),
  },
  {
    path: "*",
    name: "404",
    component: () => import(/*webpackChunkName:"404"*/ "@/pages/404"),
  },
];

export default dynamicRoutes;
